using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;

public class TipPanel : BasePanel
{
    public Button confirmBtn;

    public TextMeshProUGUI infoText;


    protected override void Init()
    {
        confirmBtn.onClick.AddListener(() => 
        { 
            UIManager.Instance.HidePanel<TipPanel>();
        });
    }

    public void ChangeInfo(string s)
    {
        infoText.text = s;
    }
}
